import Taro from "@tarojs/taro";

export const emptyUrl = 'https://sdztl.oss-cn-hangzhou.aliyuncs.com/tuowulian-offline/images/other/emptyUrl.png'

export const longPressSaveImg = (image) => {
    Taro.getImageInfo({
        src: image.src,
        success: (res) => {
            Taro.saveImageToPhotosAlbum({
                filePath: res.path,
                success: () => {
                    Taro.showToast({
                        title: '保存成功'
                    })
                }
            })
        }
    })
}